<template>
	<div>
		<p class="desc">
			<span>{{ news.user.nickname }}</span>
			<span>{{ news.comment_length }}跟帖</span>
			<span>{{ type }}</span>
		</p>
	</div>
</template>

<script>
export default {
	props: {
		news: {
			type: Object,
			required: true
		},
		type: {
			type: String,
			default: '文章'
		}
	}
};
</script>

<style scoped lang="less">
.desc {
	display: flex;
	color: #ccc;
	span {
		font-size: 12px;
		margin-right: 10px;
	}
}
</style>
